package com.zzyk.main.model.pojo;



import com.zzyk.main.model.vo.Model;

import java.util.Date;
import java.util.Set;

public class SysRole extends Model {
    private static final long serialVersionUID = 1L;
    
    private Integer id;
    private String roleName;
    private String desc;
    private Integer type;
    private Integer status;
    private Integer expire;
    private Integer readonly;
    private Date createTime;
    private Integer createBy;
    private Date updateTime;
    private Integer updateBy;

    private Set<SysPermission> permissionSet;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getExpire() {
        return expire;
    }

    public void setExpire(Integer expire) {
        this.expire = expire;
    }

    public Integer getReadonly() {
        return readonly;
    }

    public void setReadonly(Integer readonly) {
        this.readonly = readonly;
    }

    public Set<SysPermission> getPermissionSet() {
        return permissionSet;
    }

    public void setPermissionSet(Set<SysPermission> permissionSet) {
        this.permissionSet = permissionSet;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }
}
